<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script type="text/javascript" src="http://119.8.47.36:9010/web-apps/apps/api/documents/api.js"></script>
<body>
<div id="placeholder" style="500px;"></div>

<script>
    let config = {
        "type": "desktop",
        "documentType": "word",
        "document": {
            "title": "000556.docx",
            "url": "http://119.8.47.36:8001/downloadFile?fileId=273",
            "fileType": "docx",
            "key": "18779175575",
            "permissions": {
                //"comment": true,
                //"copy": true,
                "download": true,
    "edit": true,
    "print": false,
    //"fillForms": true,
    //"modifyFilter": true,
    //"modifyContentControl": true,
    "review": false,
    }
    },
    "editorConfig": {
        "lang": "en",
            "callbackUrl": "http://119.8.47.36:8001/onlyoffice.php?fileId=223&source_file_id=30747&fsuId=453",
            "user": {
            "id": "11",
                "name": "1474083407@qq.com",
        },
    },
    "height": "800px",
        "width": "100%",
    };
    new DocsAPI.DocEditor("placeholder",config)

</script>
</body>
</html>